package com.devunion.bogdan.model.command;

import java.util.EventObject;

/**
 * @author Viktar Liaskovich
 */
public abstract class AbstractCommand extends EventObject implements Command {
    protected CommandReceiver receiver;

    public void setCommandReceiver(CommandReceiver receiver) {
        this.receiver = receiver;
    }

    protected AbstractCommand(Object source) {
        super(source);
    }
}
